The Return Cursor Position routine returns the current virtual
cursor position in a specified virtual display.
Format
SMG$RETURN_CURSOR_POS display-id ,start-row ,start-column
1 – Returns
OpenVMS usage:cond_value
type: longword (unsigned)
access: write only
mechanism: by value
2 – Arguments
display-id
OpenVMS usage:identifier
type: longword (unsigned)
access: read only
mechanism: by reference
Specifies the virtual display whose current virtual cursor
position you are requesting. The display-id argument is the
address of an unsigned longword that contains the display
identifier.
The display identifier is returned by SMG$CREATE_VIRTUAL_DISPLAY.
start-row
OpenVMS usage:longword_signed
type: longword (signed)
access: write only
mechanism: by reference
Receives the virtual cursor's current row position within the
specified virtual display. The start-row argument is the address
of a signed longword into which is written the current row
position.
start-column
OpenVMS usage:longword_signed
type: longword (signed)
access: write only
mechanism: by reference
Receives the virtual cursor's current column position within
the specified virtual display. The start-column argument is the
address of a signed longword into which is written the current
column position.